package com.morningstar.qs.basic.db.constant;


public class ConstantEnum {
	
	
	public enum SortType{
		ASC("ASC"),
		DESC("DESC");
		private final String value;
		public static SortType getSortTypeEmum(int value){
			switch(value){
				case 1:
					return ASC;
				case 2:
					return DESC;
				default:
					return ASC;
			}
			
		}
		private SortType(String value){
			this.value = value;
		}
		public String getValue(){
			return this.value;
		}
	}
	
	
}
